package com.czmh.etc.onlinepubsys.services.impl;

import com.czmh.etc.onlinepubsys.maper.EtcAfterSaleDeviceMapper;
import com.czmh.etc.onlinepubsys.model.EtcAfterSaleDevice;
import com.czmh.etc.onlinepubsys.services.EtcAfterSaleDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("etcAfterSaleDeviceService")
public class EtcAfterSaleDeviceServiceImpl implements EtcAfterSaleDeviceService {
    @Autowired
    private EtcAfterSaleDeviceMapper etcAfterSaleDeviceMapper;

    @Override
    public EtcAfterSaleDevice queryObject(String id) {
        return etcAfterSaleDeviceMapper.queryObject(id);
    }

    @Override
    public List<EtcAfterSaleDevice> queryList(Map<String, Object> map) {
        return etcAfterSaleDeviceMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return etcAfterSaleDeviceMapper.queryTotal(map);
    }

    @Override
    public int save(EtcAfterSaleDevice etcAfterSaleDevice) {
        return etcAfterSaleDeviceMapper.save(etcAfterSaleDevice);
    }

    @Override
    public int saveSelective(EtcAfterSaleDevice etcAfterSaleDevice) {
        return etcAfterSaleDeviceMapper.saveSelective(etcAfterSaleDevice);
    }

    @Override
    public int saveList(List<EtcAfterSaleDevice> etcAfterSaleDevices) {
        return etcAfterSaleDeviceMapper.saveList(etcAfterSaleDevices);
    }

    @Override
    public int update(EtcAfterSaleDevice etcAfterSaleDevice) {
        return etcAfterSaleDeviceMapper.update(etcAfterSaleDevice);
    }

    @Override
    public int delete(String id) {
        return etcAfterSaleDeviceMapper.delete(id);
    }

    @Override
    public int deleteBatch(String[] ids) {
        return etcAfterSaleDeviceMapper.deleteBatch(ids);
    }

}
